/* Layout */

#widget-display {
  border: solid 1px #e4e4e4;
  border-radius: 5px 5px 0 0;
  border-bottom: none;
  margin: 5px 5px 0 5px;
  min-height: 200px;
  padding: 50px 40px;
}

#results-display {
  border: solid 1px #e4e4e4;
  border-radius: 0 0 5px 5px;
  display: flex;
  flex-direction: column;
  margin: 0 5px 5px 5px;
  min-height: 200px;
  padding: 50px 40px 40px;
}

/* Hit */

.hit {
  align-items: center;
  display: flex;
  padding: 5px 0;
}

.hit:hover {
  cursor: pointer;
}

.hit--active {
  background-color: #3369e7;
  color: white;
}

.hit .hit-picture img {
  height: auto;
  width: 80px;
}

.hit .hit-content {
  padding: 0 10px;
}

.hit .hit-type {
  color: #888;
  font-size: 13px;
}

/* GeoSearch */

.my-custom-marker {
  position: relative;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 3px 5px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
}

.my-custom-marker:hover,
.my-custom-marker--active {
  background-color: #3369e7;
  color: white;
  cursor: pointer;
}

.my-custom-marker::after {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  bottom: -5px;
  background-color: white;
  border-color: rgba(0, 0, 0, 0.2);
  border-width: 0 1px 1px 0;
  border-style: solid;
  left: 50%;
  margin-left: -4px;
  transform: rotate(45deg);
}

.my-custom-marker:hover::after,
.my-custom-marker--active::after {
  background-color: #3369e7;
}

.my-custom-info-box {
  position: relative;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen,
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 3px 5px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
}

.my-custom-info-box::after {
  content: '';
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  bottom: -5px;
  background-color: white;
  border-color: rgba(0, 0, 0, 0.2);
  border-width: 0 1px 1px 0;
  border-style: solid;
  left: 50%;
  margin-left: -4px;
  transform: rotate(45deg);
}

.my-custom-info-box__text {
  text-align: center;
}

.story-selector {
  padding-left: 5px;
  background: #333;
}

.tab {
  height: 30px;
  display: inline-block;
  padding: 5px;
  margin: 5px 2px 0 2px;
  background: #d6d6d6;
  color: #777;
  text-decoration: none;
}

.tab.active {
  background: #f7f7f7;
  color: black;
}
